package com.wetao.lib_common.bean.request;

import java.io.Serializable;
import java.util.List;

/**
 * author: zhouyh
 * created on: 2021/6/26 9:59 上午
 * description:错题订正请求数据
 */
public class RevisionQuestionReq implements Serializable {


    /**
     * studentExamId : 21769
     * isRevision : 0  //控制错题订正套题， 传1 全部订正 0 没有全部订正
     * vos : [{"studentExamAnswerId":2222,"questionId":197693,"revisionContent":"123","revisionType":1,"revisionTime":"20","isCollect":1,"subjectId":14}]
     */

    private Integer studentExamId;
    private Integer isRevision;
    private List<RevisionBean> vos;

    public RevisionQuestionReq(Integer studentExamId, Integer isRevision, List<RevisionBean> vos) {
        this.studentExamId = studentExamId;
        this.isRevision = isRevision;
        this.vos = vos;
    }


    public Integer getStudentExamId() {
        return studentExamId;
    }

    public void setStudentExamId(Integer studentExamId) {
        this.studentExamId = studentExamId;
    }

    public Integer getIsRevision() {
        return isRevision;
    }

    public void setIsRevision(Integer isRevision) {
        this.isRevision = isRevision;
    }

    public List<RevisionBean> getVos() {
        return vos;
    }

    public void setVos(List<RevisionBean> vos) {
        this.vos = vos;
    }


    /**
     * 学生订正的数据封装
     */
    public static class RevisionBean implements Serializable {
        /**
         * studentExamAnswerId : 2222
         * questionId : 197693
         * revisionContent : 123
         * revisionType : 1
         * revisionTime : 20
         * isCollect : 1
         * subjectId : 14
         */

        private Integer studentExamAnswerId;
        private Integer questionId;
        private String revisionContent;
        private Integer revisionType;
        private String revisionTime;
        private Integer isCollect;
        private Integer subjectId;


        public RevisionBean(Integer studentExamAnswerId, Integer questionId, String revisionContent, Integer revisionType, String revisionTime, Integer isCollect, Integer subjectId) {
            this.studentExamAnswerId = studentExamAnswerId;
            this.questionId = questionId;
            this.revisionContent = revisionContent;
            this.revisionType = revisionType;
            this.revisionTime = revisionTime;
            this.isCollect = isCollect;
            this.subjectId = subjectId;
        }


        public Integer getStudentExamAnswerId() {
            return studentExamAnswerId;
        }

        public void setStudentExamAnswerId(Integer studentExamAnswerId) {
            this.studentExamAnswerId = studentExamAnswerId;
        }

        public Integer getQuestionId() {
            return questionId;
        }

        public void setQuestionId(Integer questionId) {
            this.questionId = questionId;
        }

        public String getRevisionContent() {
            return revisionContent;
        }

        public void setRevisionContent(String revisionContent) {
            this.revisionContent = revisionContent;
        }

        public Integer getRevisionType() {
            return revisionType;
        }

        public void setRevisionType(Integer revisionType) {
            this.revisionType = revisionType;
        }

        public String getRevisionTime() {
            return revisionTime;
        }

        public void setRevisionTime(String revisionTime) {
            this.revisionTime = revisionTime;
        }

        public Integer getIsCollect() {
            return isCollect;
        }

        public void setIsCollect(Integer isCollect) {
            this.isCollect = isCollect;
        }

        public Integer getSubjectId() {
            return subjectId;
        }

        public void setSubjectId(Integer subjectId) {
            this.subjectId = subjectId;
        }
    }
}
